<template>
  <div>
    <h2>dashboard</h2>
<h3>{{new Date().format("yyyy-MM-dd")}}</h3>
    <p v-hello="color">测试自定义指令</p>
    <el-input v-model="color" />
  </div>
</template>
<script>

export default {
  components: {  },
  data(){
    return{
      color:'#f00'
    }
  },
  
};
</script>
<style lang="less" scoped>
h2 {
  color: @red;
}
</style>